package com.store.dao;

import com.store.model.ExpressrecordModel;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository("expressrecordDao")
public interface ExpressrecordMapper {

    public List<ExpressrecordModel> getList(ExpressrecordModel model);

    public int getCount(ExpressrecordModel model);

    public void insert(ExpressrecordModel model);

    public void update(ExpressrecordModel model);

    public void disableOrEnable(ExpressrecordModel model);

    public void delete(ExpressrecordModel model);

    public void deleteByField(ExpressrecordModel model);
}